import request from '@/utils/request'

export function qiniu(file) {
  const data = new FormData()
  data.append('file', file)
  return request({
    url: '/file/qiniu',
    method: 'post',
    data
  })
}
